let fs = require('fs')
let path = require('path')

let file = path.join(__dirname, '../../set.json')
module.exports = {
  get() {
    return JSON.parse(fs.readFileSync(file).toString())
  },
  set(json) {
    fs.writeFileSync(file, JSON.stringify(json))
  }
}
